<!--#include file="Config.asp"-->
<!--#include file="emp_is.asp"-->
<!--#include file="Header.asp"-->
<%
EMP_ID=Int(request("EMP_ID"))
sql="select * from EMP_Staff where EMP_ID="&EMP_ID
rs.open sql,conn,1,1
%>

<div align='center'>
	<div class="easyui-panel" title="Emp_Staff_Info：" style="padding:10px;">

<table class="table">
<form method="post" name="FormLogin" id="FormLogin" action="EMP_EditSave.asp?EMP_ID=<%=EMP_ID%>&SaveType=ModOK">
<tr>
<td align="right">部门：</td>
<td><select name="emp_depid">
		<%
sqls="select * from Emp_Dep order by Dep_id"
rss.open sqls,conn,1,1
for r=1 to rss.recordcount
%><option value="<%=int(rss("Dep_id"))%>" <%If int(rss("Dep_id"))=int(rs("Emp_Depid")) Then%> selected<%end if%>><%=rss("Dep_name")%></option>
<%
rss.moveNext
next
rss.close
%></select></td>
</tr>

<tr>
<td align="right">姓名全称：</td>
<td > <input name="EMP_Name" type="text" size="24" value='<%=Trim(rs("EMP_name"))%>' ><%=rs("EMP_name")%> </td>
</tr>

<!-- <tr>
<td align="right">密码：</td>
<td > <input name="EMP_Pass" type="text" size="24" value='<%=Trim(rs("EMP_pass"))%>' ></td>
</tr> -->

<tr>
<td align="right">职务：</td>
<td >
<select name="EMP_title">
<%
sqls="select * from basic_title order by t_id"
rss.open sqls,conn,1,1
for r=1 to rss.recordcount
%><option value="<%=int(rss("t_id"))%>" <%If int(rss("t_id"))=int(rs("EMP_title")) Then%> selected<%end if%>><%=int(rss("t_id"))%>.<%=rss("t_title")%></option>
<%
rss.moveNext
next
rss.close
%></select>
</td>
</tr>

<tr>
<td align="right">手机号码：</td>
<td > <input name="EMP_mobile" type="text" size="24" value='<%=Trim(rs("EMP_mobile"))%>' ></td>
</tr>

 <tr>
<td align="right">备注说明：</td>
<td > <input name="EMP_info" type="text" size="24" value='<%=Trim(rs("EMP_info"))%>' ></td>
</tr>

 <tr>
<td align="right">帐号有效期：</td>
<td > <input name="EMP_ValueTime" type="text" size="24" value='<%=Trim(rs("EMP_ValueTime"))%>' onClick="WdatePicker()" class="Wdate" ></td>
</tr>

<tr>
<td align="right">状态：</td>
<td>
<select name="Emp_State">
		<%
sqls="select * from Emp_State order by id"
rss.open sqls,conn,1,1
for r=1 to rss.recordcount
%><option value="<%=int(rss("id"))%>" <%If int(rss("id"))=int(rs("Emp_State")) Then%> selected<%end if%>><%=int(rss("id"))%>.<%=rss("Typename")%></option>
<%
rss.moveNext
next
rss.close
%></select></td>
</tr>

<tr>
<td>&nbsp;</td>
<td><INPUT type="submit" value='<%=session("emp_name")%>修改'></td>
</tr>
</form>
</table>

<%
rs.close
%>

</div>
</div>


<!--#include file="Footer.asp" -->
